<template>
  <el-checkbox-group :size="activeData.size" :disabled="activeData.disabled" :style="activeData.style">
    <template v-for="item in activeData.options" :key="item.value">
      <el-checkbox-button v-if="activeData.optionType === 'button'" :value="item.value">
        {{ item.label }}
      </el-checkbox-button>
      <el-checkbox v-else :border="activeData._config_.border" :value="item.value">
        {{ item.label }}
      </el-checkbox>
    </template>
  </el-checkbox-group>
</template>
<script setup lang="ts" name="GoodCheckGroup">
defineProps({
  activeData: {
    type: Object,
    default: () => {
      {
      }
    }
  }
});
</script>
